Skip to content

test(hyper): cover Hyper public-API resolution + metering contracts (toward #79)#84

Merged
markovejnovic merged 3 commits into
mainfrom
test/more-tests-hyper-ex
Jul 13, 2026
Merged

test(hyper): cover Hyper public-API resolution + metering contracts (toward #79)#84
markovejnovic merged 3 commits into
mainfrom
test/more-tests-hyper-ex

Conversation

@markovejnovic

@markovejnovic markovejnovic commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@github-actions

Copy link
Copy Markdown

Test Results

    4 files  ± 0  227 suites  ±0   2m 21s ⏱️ - 2m 4s
  675 tests + 6  675 ✅ +6    0 💤 ±0  0 ❌ ±0 
1 151 runs  +12  675 ✅ +6  476 💤 +6  0 ❌ ±0 

Results for commit c07973d. ± Comparison against base commit f6f88dd.

This pull request removes 2 and adds 8 tests. Note that renamed tests count towards both.
Elixir.HyperTest ‑ test exec/3 with a pid that is not a VM supervisor returns {:error, :not_found}
Elixir.HyperTest ‑ test exec/3 with an unregistered vm_id returns {:error, :not_found}
Elixir.Hyper.Metering.UsageTest ‑ test Hyper.usage/1 across a VM's lifetime a stopped-but-metered VM reports its recorded lifetime total
Elixir.Hyper.Metering.UsageTest ‑ test Hyper.usage/1 across a VM's lifetime an entirely unknown VM is :not_found
Elixir.Hyper.Metering.UsageTest ‑ test Hyper.usage/1 across a VM's lifetime usage/1 resolves a pid handle to its vm_id and delegates
Elixir.HyperTest ‑ test exec/3 by a non-supervisor pid refuses with {:error, :not_found}
Elixir.HyperTest ‑ test exec/3 by an unregistered vm_id refuses with {:error, :not_found}
Elixir.HyperTest ‑ test fork_vm/1 by an unregistered vm_id refuses with {:error, :not_found}
Elixir.HyperTest ‑ test id/1 answers nil when the VM's owning node is unreachable
Elixir.HyperTest ‑ test usage/1 by a non-supervisor pid refuses with {:error, :not_found}

@markovejnovic
markovejnovic merged commit 862e159 into main Jul 13, 2026
7 checks passed
@markovejnovic
markovejnovic deleted the test/more-tests-hyper-ex branch July 13, 2026 22:47
@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant